Acetaldehyde and acetone are isomers.
Compounds having the same molecular formula but different physical and chemical properties are called isomers.
Acetaldehyde and acetone are not isomers because their molecular formula is different.
The molecular formula of acetaldehyde is C2H4O and that of acetone is C3H6O.