Tomfoolery has 2 different meanings across 1 category:
Noun
foolish or senseless behavior
Foolish behaviour or speech.