Close neighbours stick together
J, 17 bytes
&lt;;.1~1,1~:&amp;|2-/\]

Try it online!
Thanks to rak for pointing out that repeated elements should start a new group

2-/\] Take successive deltas
1~:&amp;| Is the absolute value not equal to 1?
1, Append one (since first element always starts a new group)
&lt;;.1~ Group by that mask (ie, start new group every time there's a one)