Yes, and both.
Assuming these illegal criminal invaders are humans, then yes. The 5th amendment states that “No PERSON shall…be deprived of life, liberty, or property without due process of law…” and the 14th amendment states “…nor shall any State deprive any PERSON of life, liberty, or property, without due process of law; nor deny to any PERSON within its jurisdiction the equal protection of the law.”
It doesn’t say “citizen”, it doesn’t say “legal resident”, it doesn’t say “American”, it doesn’t say “English speaking adult” or anything other descriptor. It says PERSON. So these PEOPLE have a right to due process; in your example, this would actually determine if they are in fact “criminal” and/or “invaders”.
And it was decided in Plyler vs Doe (1981) that according to the Supreme Court, “Whatever his status under the immigration laws, an alien is a ‘person’ in any ordinary sense of that term.” Further in the court documents reads “Aliens, even aliens whose presence in this country is unlawful, have long been recognized as ‘persons’ guaranteed due process of law by the Fifth and Fourteenth Amendments.”
If you don’t like it, then get the law changed - but until it changes, I would expect people who take an oath to the constitution to follow it as currently written/interpreted.