You may have seen a proof that the square root of 2 is irrational and you can look this up in most textbooks written for students in their last year of school mathematics or first year of University mathematics. It is just as easy to prove that if a is not a square number then a is irrational.

Prove that if a is a natural number and a is rational then it is a square number (an integer n2 for some integer n.)