If the report I cited is accurate, school officials let him on the grounds with a knife. Although not necessarily illegal, it was likely grounds for suspension or possibly expulsion even if nothing happened.
I have no idea what public school rules are in Frisco, so am unable to comment on that.