The straight leg test for sciatica involves the individual lying down while the medical professional raises their leg by flexing the hip. If the individual experiences pain along the lower limb while their knee is in extension, this can indicate sciatica.