I'm not entirely how best to pose this question, so that it fits within the guidelines (so edits / suggestions for modification are warmly welcome).
I'm interested in exploring effective strategies for helping students solidify their basic ability to recognize nonsensical expressions and was curious to know what has worked for others or what others have tried. I'll illustrate the kind of "nonsense" I mean with two examples.
e.g. 1: nonsense commonly recognized by students.
In my experience, most HS and university students working only within the set of real numbers have no trouble recognizing something like $\sqrt{-2}$ as being "meaningless" or "nonsensical" or simply undefined.
e.g. 2: nonsense not always recognized by students.
Again, drawing from experience, I find a surprisingly large number of students who would recognize the above are less likely to notice that "$y = \sqrt{3-x}$ for $x > 1$" doesn't make sense (i.e. assuming one is not using a domain convention in which this would be understood to actually mean "for $1 < x \leq 3$").
N.B.: I'm not interested in focusing on the particular issues with this specific example, I'm interested in any effective strategies others have used for helping students develop the instinct to reflect & question what they are reading, to make sure it makes some sort of sense; i.e. to get them in the habit of thinking about the math they are working with and not just "going through the motions."
Again, I know this is quite fuzzy and subjective; however, it seems like it falls under the acceptable type of subjective questions; happy to edit or remove, if I'm mistaken.