N.Y. Comp. Codes R. & Regs. tit. 20, § 1-3.3
(a) A foreign corporation will not be deemed to be doing business, employing capital, owning or leasing property in a corporate or organized capacity or maintaining an office in New York State because of:
(b) An alien corporation, as defined in section 209(2-a) of the Tax Law, will not be deemed to be doing business, employing capital, owning or leasing property in a corporate or organized capacity or maintaining an office in New York State if its activities in New York State are limited solely to investing or trading for its own account in:
Tax Law, § 209(2) and 209(2-a)