It depends. Just being over the legal limit would probably not be good enough, and whether you were capable of consenting to sex while intoxicated would be a question of fact for the jury to determine.
In NYS, if you're over the age of consent, you'd lack the ability to consent if you were:
"Mentally disabled" which, means that "a person suffers from a mental
disease or defect which renders him or her incapable of appraising the
nature of his or her conduct."
"Mentally incapacitated" (this is what applies to your situation) which means that "a person is rendered temporarily incapable of appraising or controlling his conduct
owing to the influence of a narcotic or intoxicating substance administered to him without his consent, or to any other act committed upon him without
"Physically helpless" which means that "a person is unconscious or for any
other reason is physically unable to communicate unwillingness to an
act." See NYPL 130.00
for how these matters are defined in the NYS rape statute.
So really, if the defense were to go to trial
on this case and argue that you consented, they would try to show that you were sober enough to know what you were doing and were still capable of making a rational decision. The state would try to bring out evidence to show otherwise, and the jury would decide whether a rape was made out beyond a reasonable doubt after the close of all of the trial evidence.