Green’s Dictionary of Slang

haricot n.1

[SE haricot bean, i.e. ext. of bean n.1 (3a)]

the penis.

[US]Maledicta IV:2 (Winter) 192: The greengrocery words associated with the penis are of four main classes […] those terms taken from folklore – e.g. haricot = French for bean.