What determines your state?

If a kid lives in one state but goes to school at a private school across the border in another state, what determines his state for cutoff purposes? He does not live at the school but lives at home and commutes to the school in the bordering state.

The state in which the school is in.