You may write a letter to the landlord and request the name and address of the financial institution where the landlord maintains your security.
For more information read here:
The answer provided to you is in the nature of general information. The general proposition being that you should try to avoid a bad outcome if you can.
I concur with other counsel.
If you found this "helpful" or "best answer," please click it with my appreciation. My response is for educational purposes and does not constitute legal advice nor creates an attorney client relationship which requires all the details and a personal conference.
New York and New Jersey have different statutes concerning security deposits. NY unlike NJ does not have a specific provision for not telling the tenant where the security deposit has been deposited. In NJ the tenant can apply it as rent. In NY there is not the same provision.