How old was the boy?
They would both get into trouble, unless one of them forced it upon the other.
The idea is to protect children..... even if they do dumb stuff. The arrest depends on the state you live and discretion of the authorities involved.
Why are you so concern about this boy being arrested?
why just the boy? it took two people(children) to do what they did in the school bathroom