If you do not actually need the array besides this check, I suggest:
if (in_array($tag, array('home','about','contact'))) {
// ...
}
There is also the option of a switch, which may make sense if you are comparing $tag with many values to determine which of different actions should be done, rather than just checking whether or not to do a particular action.