Whoever, within the jurisdiction of the United States, goes upon any military, naval * * * reservation, post, fort, arsenal, yard, station or installation, for any purpose prohibited by law or lawful regulation * * * shall be fined not more than $500.00 or imprisoned not more than six months or both.
32 C.F.R. § 770.52