No shit. It's been a law literally on the fucking books for quite some time. If you're not a citizen you just don't get to enjoy all of the amenities and rights offered to those with that designation, sorry not sorry.. Pretty simple.
That said, does the illegal person have a right to carry a firearm? Definitely. Absolutely. /garyoldmanEVERYONE
It's immoral discriminate based on membership to a club. Tired, sick, hungry.