It is. That’s why he wasn’t arrested, just questioned. But it also raises red flags for certain three letter agencies and for a good reason.
The federal government would have good reasons to protect national security to question people that threaten our national security.
Edit: to be clear, I think Hasan is a fool, but detaining him still smells like a political purity test
I get that you don't think this is a problem. Just remember this when you are looking for someone that you can't find anymore.