The issue here is the poor wording in Constitution is the problem here. Census was to count ‘all persons’. It does not specify ‘citizens’. Though there may be a way to justify not counting illegals. Indians were excluded because they didn’t pay taxes. The same argument may include illegals if it applied to indians. I am definitely not a lawyer though.