Former president Richard M. Nixon has found a home in New York after all.

Nixon has agreed to purchase a 12-room condominium apartment of millionaire builder Abraham Hirschfeld at Fifth Avenue and 63d Street and will move there early next year barring unforeseen circumstances, according to a New York Times report today.

The purchase agreement for the four-bedroom, entire seventh-floor apartment overlooking Central Park reportedly was almost $1 million, to be paid in cash at the sale's closing later this year.

Nixon withdrew an offer of $750,000 on Aug. 2 to buy a penthouse apartment at 19 E. 72d St. at the corner of Madison Avenue after tenants protested his possible residency.

The agreement is not subject to the approval of a board of tenants as in a cooperative building, such as the one on 72d Street. State law allows a condominium's board of managers the right to block a sale by matching any prospective tenant's offer, The Times said, but this was unlikely to happen.

Nixon's new apartment, at 817 Fifth, would be on the same block as the building where he and his wife, Pat, lived before he was elected president.

A poll taken by a resident at the 72d Street building earlier indicated that half of the 34 residents were opposed to Nixon's moving into the building. Security problems and the ensuing publicity were among the reasons cited.