
The Fifth Amendment of the U.S. Constitution guarantees that not a single person can be deprived of their life, freedom, or property without due process of the law. Donald Trump apparently wants to tweak that to suit his wants.
In legalese, the going term is habeas corpus, which requires the judicial system to bring forward anyone accused of any crime and being held. The point is to ascertain whether the detention is legal or illegal.