Unless the line is vertical you could always pick an irrational $x$ (and consider the point $(x,y)$, on the line, which does not have all rational coordinates, regardless of whether $y$ happens to be rational or irrational). If the line is vertical, then you could pick any irrational $y$ and consider the point $(x,y)$. Assuming you work with straight lines. (Also, assuming you know that irrational numbers exist, e.g. $\sqrt{2}$, as from other comments and answers this seems to be part of your question. So, again, stated differently, if the line is not vertical then $(\sqrt{2},y)$ is on the line for some $y$ and $\sqrt{2}$ is irrational. If the line is vertical, then $(x,\sqrt{2})$ is on the line for some (unique) $x$, and this time the second coordinate is $\sqrt{2}$, irrational. It is also true that there are infinitely many points like that on the line, e.g. using $\frac pq\sqrt{2}$ or $\frac pq\pi$ and $\frac pq e$ in place of $\sqrt2$, they are all irrational whenever $\frac pq$ is rational, and many more, they form a dense set and you seem to make a comment related to that, but for the purposes of answering your question, just one point with (at least) one irrational coordinate suffices.)