Not sure what exactly you need but I understand it as you want result 1 or 0 depending on if one or more servername are running or no one is running. If this is what you want use:
ps -aux| grep servername | wc -l | awk '{ if($1>0) print 1; else print 0 }'
or
ps -aux| grep servername | wc -l |...