Green’s Dictionary of Slang

moan and wail n.

[rhy. sl.]

a gaol.

[US]A.J. Pollock Und. Speaks.
[UK]D. Runyon in Star (Marion, OH) 31 July 6/8: An American switch on ‘sorrowful tale’ is ‘moan and wail’ meaning jail.
[US]Monteleone Criminal Sl. (rev. edn).