It was an absolutely illegal gerrymander under the NY Constitution.
“(c) Subject to the requirements of the federal constitution and statutes and in compliance with state constitutional requirements, the following principles shall be used in the creation of state senate and state assembly districts and congressional districts:
(1) When drawing district lines, the commission shall consider whether such lines would result in the denial or abridgement of racial or language minority voting rights, and districts shall not be drawn to have the purpose of, nor shall they result in, the denial or abridgement of such rights. Districts shall be drawn so that, based on the totality of the circumstances, racial or minority language groups do not have less opportunity to participate in the political process than other members of the electorate and to elect representatives of their choice.
(2) To the extent practicable, districts shall contain as nearly as may be an equal number of inhabitants. For each district that deviates from this requirement, the commission shall provide a specific public explanation as to why such deviation exists.
(3) Each district shall consist of contiguous territory.
(4) Each district shall be as compact in form as practicable.
(5) Districts shall not be drawn to discourage competition or for the
purpose of favoring or disfavoring incumbents or other particular candidates or political parties. The commission shall consider the maintenance of cores of existing districts, of pre-existing political subdivisions, including counties, cities, and towns, and of communities of interest.”