It's common for physicists to say that not every 3-tuple of real numbers is a vector:
“Well, isn’t torque just a vector?” It does turn out to be a vector, but we do not know that right away without making an analysis.... because force is a vector it transforms into the new system in the same way as do $x$, $y$, and $z$, since a thing is a vector if and only if the various components transform in the same way as $x$, $y$, and $z$.
You might be inclined to say that a vector is anything that has three components that combine properly under addition. Well, how about this: We have a barrel of fruit that contains $N_x$ pears, $N_y$ apples, and $N_z$ bananas. Is $N = N_x\hat{x} + N_y\hat{y} + N_z\hat{z}$ a vector? It has three components, and when you add another barrel with $M_x$ pears, $M_y$ apples, and $M_z$ bananas the result is $(N_x + M_x)$ pears, $(N_y + M_y)$ apples, $(N_z + M_z)$ bananas. So it does add like a vector. Yet it’s obviously not a vector, in the physicist’s sense of the word, because it doesn’t really have a direction. What exactly is wrong with it?
David J. Griffiths, Introduction to Electricity and Magnetism, 1.15
Interestingly, Griffiths' example of apples and bananas not being a vector is almost identical to Strang's example of what a vector is:
"You can't add apples and oranges." In a strange way, this is the reason for vectors. We have two separate numbers $V_I$ and $V_2$. That pair produces a two-dimensional vector $v$.
Gilbert Strang, Introduction to Linear Algebra, 1.1
What do physicists mean then when they say a certain $(x,y,z)$ isn't a vector? Certainly any element of $\mathbb R^3$ is a vector.
The sources talk about being the same under coordinate transforms: but of course any transform of $(x,y,z)$ yields a particular $(x', y', z')$ value. What does it mean for a 3-tuple to be invariant under transform?
Is there a way of expressing the physicists' statement clearly and precisely? How can I test if a certain tuple (or function) "is" a vector? Can this statement be put into mathematical language: $f: \mathbb R^3 \to \mathbb R^3$ is a physicists' vector if...
For a mathematician, linear algebra starts with a vector space. Vectors are elements of this space. Sometimes a finite basis exists, then one can consider the dual basis to it as coordinate functions or functionals and consider the coordinate vector. If the basis changes in some linear way, the dual basis and thus the coordinate vector changes in the opposite way, thus the naming of the coordinate vector as contravariant.
For a physicist the coordinate vector is the primary object, together with its changes under coordinate transformations. There is some awareness that there is a vector space in the background, but usually that is far in the background. For a single vector this is trivial, but if you take a bunch of coordinate vectors and do some construction with them, then it is not immediately clear if the result at the end is still an element of the original vector space. The test for that is the behavior under coordinate transformations, that is, one takes the original vectors, applies a coordinate change, does the same construction and checks if the result shows the same coordinate change.
Seen this way, even the elementary operations are suspect at first. Adding two vectors is a construction in this sense and one would have to test the sum in under coordinate changes (which makes for a trivial calculation, but still ...).
After the start this is easier than the mathematics version for some way, but gets more complicated if there are more than two different vector spaces in play simultaneously ("space" and two Lie algebras for example).