More specifically, the Constitution applies to noncitizens insofar as every right enumerated in it that is explicitly stated to apply to people or those within the jurisdiction of the country, rather than exclusively citizens, can be assumed to include noncitizens, documented or otherwise. Ergo, for example, an undocumented immigrant does have the right to due process and an attorney. And might have Second Amendment rights.