The fourth amendment protects humans from unreasonable searches and seizures by the government. Some people say "each mans home is his castle" meaning that no one can come into a persons home without permission.
the right of the people to be secure in their persons,houses,papers,effects,against unreasonable searches and seizures,shall not be violated,and no warranrs shall issue, but upon probable cause,supported by oath or affirmation, and particularly describing the place to be searched
This is because it is probably apart of your schools dress code. If you feel like this is inappropriate, then you should speak with an administrative officer of your school.