IIRC the TSA occasionally sets up airport style security checkpoints at train exits. A search of HN should show some examples.
It's not exactly airport style - at least in NYC and Philly they swab you for explosives and check your ID. No X-Ray or nude-o-scope. You're free to not go through the checkpoint (but you won't board your train).