Of course not. Only boolean values (true/false) can be #AND#ed (using '&&') Also, you do not want the actor to move only if both keys are pressed at the same time. You want "if either key is down", which means you need to #OR# ('||') the boolean values:
if (Greenfoot.isKeyDown("a") || Greenfoot.isKeyDown("left"))