N.Y. Comp. Codes R. & Regs. tit. 20, § 163.1
(a) Section 663 of the Tax Law requires that a nonresident taxpayer must estimate and pay the personal income tax liability on the gain, if any, upon the sale or transfer of real property within New York State. For purposes of section 663, the following rules and definitions apply:
(2) Nonresident taxpayer.