Yes, you would file a Nonresident tax return for NY. New York computes the tax for a Nonresident as if the taxpayer were a full-year resident of NY, then the tax is multiplied by a percentage based on the NY income vs total federal income.
Make sure that you enter the NY withholding in the federal section of your return.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"