Not any crime. Just treason or terrorism or citizenship fraud. If you commit other crime besides treason or terrorism, obtained citizenship through fraud, you won't lose your citizenship.
People are trying to scare people into thinking they will lose citizenship over any crime. That is completely bogus.