Yes, since the defect was not hidden; X knew of it but he acted in bad faith in not disclosing the fact to Y.