Yes, if all the particles of a system lie in the X-Y plane, then it's necessary that its centre of mass lies in the X-Y plane.
As we know,
As all the particles lie in the X-Y plane, their z -coordinates are zero.
Therefore, for the whole system, zcm=0 ; i.e., its centre of mass lies in the X-Y plane.
Study 40% syllabus and score up to 100% marks in JEE