that they didn't know whether or not to remove their shoes: this is a statement noun clause that also includes a yes/no question noun clause after the verb "know" - whether or not to remove their shoes