Borrowing shares illegally would be borrowing more shares than are in the float. If there are x amount of shares in the float, and that x amount has been borrowed and hasn't been returned, then any shares sold short after that amount would be considered selling shares short that were borrowed illegally, as there cannot be more shares borrowed than the amount in the float.