Whatever else you could accuse Hitler and Stalin of, you cannot accuse them of any sort of a breakdown in basic logic; they were simply following the teachings of Darwin to their logical conclusions.
Hitler believed he was following the teachings of Jesus to their logical conclusions, too.