NYC REMSCO maintains a registry of AED locations required in NYC by New York State Public Health Law (namely, PAD: https://newyork.public.law/laws/n.y._public_health_law_section_3000-b). This dataset is also supplemented by AED locations throughout the NYC public school system, as documented by the NYC Department of Education (DOE).
The data are collected as part of New York State mandated responsibilities for NYC REMSCO. The NYC Health Department publishes these data under local law 91 of 2023: https://intro.nyc/local-laws/2023-91