The constitution only applies to citizens.
Edit: apparently I was mistaken. It applies to 'the people' of the US, which is anyone with 'substantial connection' to the US and under US jurisdiction. Green card holders would seem to be pretty clearly of 'the people' then.
Of course, it's a damn shame to treat any legal immigrant or legitimate asylum seeker this way. Seems to be absolutely against the long standing traditions of the country.