An unusual very low-mass high-amplitude pre-main sequence periodic variable