A person commits a misdemeanor of the third degree if he does any lewd act which he knows is likely to be observed by others who would be affronted or alarmed.
18 Pa.C.S. § 5901
Open lewdness
Known as the Crimes Code
The act spans §§ 18-101 to 18-9546 (603 sections).
Official source: Pennsylvania General Assembly. Reproduced from public-domain Pennsylvania statutes; confirm against the official source for the current text. Not legal advice.