If the arm is in an offside position, it's not classed as offside. The rule is if any part of the body, with which you are legally allowed to play the ball is ahead of any part of the body with which the defender is allowed to play the ball then you are offside. As you are not allowed to play the ball with your arm it's not offside.