a double entendre
a word or phrase which has two different meanings, one of which is sexual or rude.
His speech at the dinner was full of bad jokes and double entendres.
Cambridge English Idioms Dictionary