A student at Legacy High School was arrested Friday after the weapon's detection system found a gun during routine screening.
There was no information to suggest a specific threat against another student or staff member, district officials said.