What is an «unit» of an artificial neural network?

It is the same as artificial neuron.

An artificial neural network is based on a collection of connected units or nodes called artificial neurons, which loosely model the neurons in a biological brain.

en.wikipedia.org/wiki/Artificial_neural_network