A solvent is polar if it has a total dipole movement, that is if the molecule as a whole has a charge concentrated in one area. In the case of CH2Cl2, since it has 2 Cl groups (ewg) facing two opposite directions, the charge pull cancels out and it a nonpolar solvent.