IF you have over the ceiling level in NY (over 50%) you win all at-large delegates. That is from realclearpolitics. (I don’t know what at-large means though.)
A candidate wins all delegates in a congressional district if he is over 50% in NY.