I don't know what a chainsaw would do with a nail, but I know you DO NOT want to be in front of the input side of a power planer if there is a nail in the wood!
But a power planner, always look at board first.