Yes or no questions halve the possibilities
The book says that if every question in Twenty Questions removes half the subjects, twenty questions can tell apart 1,048,576 things. That works only if each question is chosen to split what remains in half.
From Morehead and Mott-Smith, 1983, under 'Twenty Questions'.