The word inertia refers to resistance or obstacle. While only referring to magnitude, not direction.
If the sum of the product of the masses of the particles that make up the body and the squares of their perpendicular distances from the axis of rotation.
The moment of inertia is also known as an angular mass in classical mechanics.
The formula for the moment of inertia
Analyzing the formula
Sometimes it behaves as a scalar & sometimes as a vector.
Sometimes it depends on the directions and sometimes depends on the distribution of mass of the particles in the object.
Therefore, a moment of inertia is a tensor quantity.
Hence, the moment of inertia is not a scalar quantity. A moment of inertia is a tensor quantity