If a number is not a rational number then it is a

irrational number.

or a complex number

True, a number that is not a rational number can also be a complex number, which is a number expressed in the form a + bi where a and b are real numbers and i is the imaginary unit, satisfying the equation i^2 = -1.

If a number is not a rational number, then it is an irrational number.