Privileges such as the medicaid can be enjoyed only by the US citizens and the legal permanent residents. People who are here on a temporary stay cannot make use of these facilities. It is only fair for the Citizens and the legal residents to enjoy these benefits rather than everybody who enters the US.