According to arrest warrants, the men set fire to a bandanna, a gang symbol, in front of members of a rival gang.
Both were charged with creating a public disturbance and were being held on $10,000 bond.
Police did not say whether the men were students at the school.
Copyright 2022 by Capitol Broadcasting Company. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.