N.Y. Not-for-Profit Corporation Law § 1314
An action or special proceeding may be maintained by a foreign corporation, in like manner and subject to the same limitations, as an action or special proceeding brought by a domestic corporation, except as otherwise prescribed by statute.