Ozone has symmetry group C2v. That means that the dipole moment along the C2 axis is non-vanishing in general, while the dipole moments in directions perpendicular to this direction must be 0.
Oxygen atoms are in different states of oxidation. Their fractional charges are different. Molecular geometry is nonlinear.
Hence, dipolar momentum is non-vanishing.