A teacher was arrested after being discovered naked inside an elementary school, according to an arrest affidavit obtained by PEOPLE.