Is 13 (thirteenth) month salary compulsory?

No. It’s not mandatory under Employment Act. It is at the discretion of the employer.