Unless I’m misreading it, military detention is not applicable to US citizens or legal residents.
That's a big problem. Literate people can't understand what they are saying here. If citizens can't understand their own laws what hope is there for us?
But if you are arrested under these rules, where is your chance to proclaim that you are a US citizen? It doesn't sound like you will get to a lawyer anytime soon. And as long as the LEO states that you aided Al-Queda, you are stuck without a trial to prove otherwise.