Green’s Dictionary of Slang

bananas n.

[abbr. banana oil under banana n.]

(US) nonsense; also as excl.

[US]F.S. Fitzgerald ‘Pat Hobby, Putative Father’ in Pat Hobby Stories (1967) 86: Aw — bananas.
[US]Wentworth & Flexner DAS.
[US]H. Rawson Dict. of Invective (1991) 34: In the plural, the word means ‘nonsense,’ often as an interjection, bananas!