Materialism is the philosophy that nothing but the material exists. Since the philosophy “nothing but the material exists” is immaterial, it doesn’t exist according to materialism. Therefore, materialism is logically inconsistent.
Also, logic is immaterial, so it doesn’t exist according to materialism. So why are we even arguing using logic?