Doesn’t need to be a crime like theft or breaking and entering. There could be LOTS of unauthorized places in a school and he broke the rules by going there. Like a guy in the girls’ locker room.
My personal guess is the equipment locker room to get a football or something minor like that.