Muslim terrorists should never be tried in civilian courts. There is much danger in the defendants’ propaganda points in an overwhelmed, baffled civilian court. Read an account of Adolf Hitler’s trial for the 1923 Nazi coup in Munich — such as Hitler And Stalin: Parallel Lives by Alan Bullock. Hitler turned the court into a pretzel, and he received special treatment during his brief stay in prison.
A military court and prison will be very far less likely to succumb to shenanigans terrorists will perform in a civilian court trial.