You know i think he was being sarcasti when i he said "
"I'm a genius"
My guess is that he accidentaly stepped on it, and instead of instantly flinching back from the nail he continued to stand on the nail (probably because his other foot was already leaving the ground)
and now he decided to make this sarcastic post as a joke