Are difluorine and hydrogen chloride considered isoelectronic?
If we take this definition of isoelectronicity: Two or more molecular entities (atoms, molecules, or ions) are described as being isoelectronic with each other if they have the same number of electrons, they are actually isoelectronic. Please see "Ultraviolet Spectroscopy And Uv Lasers"
 edited by Prabhakar Misra, Mark A. Dubinskii, page 35 (available in google books)

But if we take this definition of isoelectronicity: Two or more molecular entities (atoms, molecules, or ions) are described as being isoelectronic with each other if they have a similar electron configuration and the same structure, they are not.