What type of figurative languages being used in the sat below he is as funny as a barrel of monkeys

The figurative language being used in the sentence "He is as funny as a barrel of monkeys" is a simile.