N.Y. Election Law § 5-904
* § 5-904. Presumption of innocent authorized error. 1. Notwithstanding subdivision six of section 5-210 of this article or any other law to the contrary, a person who is ineligible to vote who fails to decline to register or pre-register to vote in accordance with the provisions of this section and did not willfully and knowingly seek to register or pre-register to vote knowing that he or she is not eligible to do so:
2. Notwithstanding subdivision six of section 5-210 of this article or any other law to the contrary, a person who is ineligible to vote who fails to decline to register or pre-register to vote in accordance with the provisions of this section, who then either votes or attempts to vote in an election held after the effective date of that person's registration, and who did not willfully and knowingly seek to register or pre-register to vote knowing that he or she is not eligible to do so, and did not subsequently vote or attempt to vote knowing that he or she is not eligible to do so: