In most modules, is_private = 0 creates a public comment. However, for Cases and Internal Tickets, you must set is_private = 1 to add a comment, as 0 is interpreted as an email.
This ensures the record is treated as an internal comment instead of being processed as an email.