indecent exposure

Definition from Nolo’s Plain-English Law Dictionary

Revealing one's genitals under circumstances likely to offend others. Exposure is indecent under the law whenever a reasonable person would or should know that his act may be seen by others--for example, in a public place or through an open window--and that it is likely to cause affront or alarm. Indecent exposure is considered a misdemeanor in most states.

Definition provided by Nolo’s Plain-English Law Dictionary.