State tax filing

Thanks but I am not sure of your answer.

My income is not from NY so do I still pay tax in NY for it if filing jointly as a nonresident?