You need to compare each variable individually, i.e.
Code:
if [[ $A != $B && $A != $C ]]; then
....
fi
Note the double [[, this uses a different syntax to [. If you use [, then you need to use -a instead of &&.
With bash, you might also want to double quote the $variables if it's possible they could have spaces in them.