New York uses a progressive system which means it uses your total income to determine which tax rate is applied to your New York income.
For example (illustrative only), if you made only $10,000 in New York you would not owe tax. However, if you made $50,000 in New York and Florida, your tax rate is 10% so you would owe $1000 on your $10,000 NY income.