You could do this with two weighings assuming its a two pan balance - (1) place three balls on each side - if they balance out then its the remaining three that has abnormal ball (2) out of that group, place one ball on each side - if balances it out, the abnormal ball is the remaining one.
If the weighing in step (1) does not balance out, grab the group of three balls that is light or heavy and repeat step (2) described above.