From Longman Dictionary of Contemporary Englishrun around like a headless chickenrun around like a headless chickeninformal to be going from one place to another in a way that is not organized at all → headless
Examples from the Corpus
run around like a headless chicken• The arcade section is hideous, featuring computer-controlled players running around like headless chickens and never attempting a tackle.