Studies have shown that Parkinson’s, epilepsy and other brain deficits are closely related to the ability of neurons to synchronize with their neighbors. Therefore, the neurobiological mechanism and synchronization behavior of neurons has attracted much attention in recent years. In this contribution, it is numerically investigated the complex nonlinear behaviour of the Hindmarsh–Rose neuron system through the time responses, system bifurcation diagram and Lyapunov exponent under different system parameters. The system presents different and complex dynamic behaviors with the variation of parameter. Then, the identification of the nonlinear dynamics and topologies of the Hindmarsh–Rose neural networks under unknown dynamical environment is discussed. By using the deterministic learning algorithm, the unknown dynamics and topologies of the Hindmarsh–Rose system are locally accurately identified. Additionally, the identified system dynamics can be stored and represented in the form of constant neural networks due to the convergence of system parameters. Finally, based on the time-invariant representation of system dynamics, a fast dynamical pattern recognition method via system synchronization is constructed. The achievements of this work will provide more incentives and possibilities for biological experiments and medical treatment as well as other related clinical researches, such as the quantifying and explaining of neurobiological mechanism, early diagnosis, classification and control (treatment) of neurologic diseases, such as Parkinson’s and epilepsy. Simulations are included to verify the effectiveness of the proposed method.