The lack of a current medical prevents you from ACTING as PIC. As long as another pilot is the ACTing PIC, it doesn't have to be a CFI, you can LOG PIC (61.51) during the time in which you are the sole manipulator of the controls in an aircraft in which you are rated.