N.Y. Social Services Law § 122
1. Notwithstanding any law to the contrary, no person except a citizen or a noncitizen who has been duly naturalized as a citizen shall be eligible for additional state payments for aged, blind and disabled persons, family assistance, safety net assistance, services funded under title XX of the federal social security act, or medical assistance, subject to the following exceptions:
(a) The following persons shall, if otherwise eligible, receive benefits under such programs:
(b) The following persons, not described in paragraph (a) of this subdivision, shall, if otherwise eligible, be eligible for family assistance, medical assistance, and safety net assistance:
(c) The following persons, not described in paragraph (a) or (b) of this subdivision, shall, if otherwise eligible, be eligible for safety net assistance and medical assistance, except that medical assistance shall be limited to care and services (not including care and services related to an organ transplant procedure) necessary for the treatment of an emergency medical condition as that term is defined in section 1903 of the federal social security act unless and until federal financial participation is available for the costs of providing medical assistance provided, however, that any such person who, on the fourth day of August, nineteen hundred ninety-seven was residing in a residential health care facility licensed by the department of health or in a residential facility licensed, operated or funded by the office of mental health or the office for people with developmental disabilities, and was in receipt of a medical assistance authorization based on a finding that he or she was a person permanently residing in the United States under color of law shall, if otherwise eligible, be eligible for medical assistance and provided, further, that any such person who, on the fourth day of August, nineteen hundred ninety-seven, was diagnosed as having AIDS, as defined in subdivision one of section two thousand seven hundred eighty of the public health law, and was in receipt of medical assistance authorization pursuant to title eleven of article five of this chapter based on a finding that he or she was a person permanently residing in the United States under color of law shall, if otherwise eligible, be eligible for medical assistance: