There's something called "Qualified Non-citizens", federal funding is prohibited for non-citizens but states could optionally cover it
https://www.medicaid.gov/medicaid/enrollment-strategies/down...
so ultimately there is some source of non-citizen data to be gleaned