Forcing a gate or overpowering a sentry is exactly what the UCMJ charge of 'Forcing a Safeguard' is all about, aside from the more pedestrian (So to speak) crimes involved, like what the civilian world calls 'Reckless endangerment' or 'Assault with a deadly weapon' (Often used for someone trying to ram or run over someone else with a car.
More importantly, though, these dipshits are lucky to be alive, in these days of heightened tension over terrorism, they could easily have ended up pumped full of holes for doing crazy shit at the gate to an installation.