Carbon dioxide is a non-polar solid because the bonds are linear and dipole moment points in opposite directions. This linear configuration cancel out the dipole moments, leaving a net polarity of zero.
HCl is a polar molecule.
H2O is also polar in nature. Similarly, SO2 is also polar in nature.