Expired toothpaste is not dangerous and will not harm you in any way.
But using expired toothpaste may not get your teeth as clean or kill off bacteria as good as it would've when the toothpaste was fresher.
Other than that the expired toothpaste is perfectly fine to use and I've used expired toothpaste myself before and nothing bad has happened.