n'avoir ni queue ni tête

Etymology
lit. 'to have neither tail nor head'; compare 🇨🇬.

Verb

 * 1) to make no sense, to have no rhyme or reason