The city's health department says the person who lives in the city got the virus after spending time outside in several locations outside of the city.
The state reported its first human case of West Nile virus this year on Tuesday in Onondaga County.
West Nile virus has been detected in mosquitoes in four boroughs, the New York City Health Department says.
Just last month, one person died from Eastern Equine Encephalitis (EEE) in Ulster County.
Gov. Kathy Hochul announced Monday statewide actions to protect public health following reports that the first human case of eastern equine encephalitis (EEE) in New York since 2015 has died.
The rare mosquito-borne virus was detected in Ulster County, the New York State Department of Health said. The individual is hospitalized, it said.