Basically if the person on the flight is employed by the operator of the aircraft. "Ie" airline pilots flight attendants an engineering person doing inflight testing employed by that airline are crew. Pelair pilots are crew. The nurse doctors are not as they are employed by some one else.
Crew on a helicopter doing surveys say on power lines is pilot only. The rest are not crew as they are not employed by the operators of the aircraft.