Is lithium chloride a compound?

Yes. It has constant proportions between lithium and chlorine but can be decomposed into its elements.