Your bank can impose any limits it wants, and may forbid keeping cash in there. My point is that it is not illegal. I undestand that Chase Bank's rental agreement forbids (non-collectable) currency.
I'm open to being whrong, but after searching for a law on this subject, I am unable to find the law that you claim exists.