habeas corpus is used to bring a prisoner or other detainee (e.g. institutionalized mental patient) before the court to determine if the person's imprisonment or detentention is unlawfull. All law enforcement has to do is say you are a terrorist and they can lock you up and throw away the key.



