While wearing masks or disguises is not usually illegal, if someone wears a mask or disguise to avoid being detected by the police he or she could be charged with a criminal offense. Under California Penal Code Section 185 PC, it is unlawful to wear a mask or disguise in order to evade the police.
https://www.losangelescriminallawyer...sguise-to.html