I looked to see if this question was already posted, but did not find anything. Please let me know if this is a duplicate.
Assume $X, Y$ are infinite sets such that there is an injection $X \to Y$ but no injection $Y \to X$. Using the axiom of choice, we have that $\operatorname{card}(X) = \operatorname{card}(X^2)$ and similarly for $Y$, so under the hypothesis there is no injection $Y \times Y \to X \times X$.
I really have two questions relating to the title:
1) How much (if any) choice do we need to prove that there is no injection $Y \times Y \to X \times X$?
And for my own interest, as I could not come up with an argument:
2) Assuming choice, is there a direct argument to prove that there is no injection $Y \times Y \to X \times X$ without relying on cardinalities of the squares?
It is definitely possible that the answer to 1) already answers 2). Perhaps this is really a trivial question, but I have thought about it for a little while and have not made any progress.
This is false without the axiom of choice.
Mostowski constructed a model of $\sf ZFA$ (set theory with atoms), and in that model for every $n\in\Bbb N$ there is some $A$ such that: $$|A|<|A|^2<\ldots<|A|^n=|A|^{n+1}$$ So taking a large enough $n$ (e.g. $n=2$) we can take $X=A^{n-1}$ and $Y=A^n$. The Jech-Sochor theorem is enough to transfer this part of the model to a model without atoms.
So all in all, $\sf ZF$ cannot prove that if $|X|<|Y|$, then $|X|^2<|Y|^2$.